package com.wlyuan.open.domain.source.event;

import com.wlyuan.core.domain.event.DomainEvent;
import com.wlyuan.open.OpenBaseSyncDTO;
import com.wlyuan.open.domain.source.SourceData;
import com.wlyuan.open.domain.source.SourceRelation;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.ToString;

/**
 * @author yuanzheng
 */
@RequiredArgsConstructor
@Getter
@ToString
public class SourceReceived<T extends OpenBaseSyncDTO> implements DomainEvent {
    private final SourceData raw;
    private final SourceRelation relation;
    private final T source;
}
